fn main() {
    let x = 5;
    println!("The value of x is {}", x);

    let x = 6;
    println!("The value of x is {}", x);

    let x = &x + 6;
    println!("The value of x is {}", x);

    let y = 35 % x;
    println!("The value of y is {}", y);

    let y = &x / y;
    println!("The value of y is {}", y);

    let b = true;
    println!("{}", b);

    let b = 3;
    println!("{}", b);

    let emoji = '😃';
    println!("{}", emoji);

    let me = '王';
    println!("{}", me);

    let tup = ('王', "Hello world", true, 32, 6.4);
    println!("{}", tup.1);

    let days = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
    println!("{}", days[0]);
    println!("{}", days.join(","));

    let elem: [u8; 5] = [3; 5];
    let sli: &[u8] = &elem;
    let result: String = sli
        .iter()
        .map(|&x| x.to_string())
        .collect::<Vec<String>>()
        .join("、");
    println!("{}", result);
}
